package com.suny.Farm.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "牧场id查询DTO")
public class FarmGetDTO {
    @NotNull(message = "牧场id不能为空")
    @Schema(description = "牧场id")
    private Integer id;
}
